import Vue from 'vue'
import Router from 'vue-router'
import Home from '../views/Home'
import NewCenter from '../views/NewCenter'
import RecruitingCentre from '../views/RecruitingCentre'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'Home',
      component: Home,
      meta: {
        title: '首页'
      }
    }, {
      path: '/newCenter',
      name: 'NewCenter',
      component: NewCenter,
      meta: {
        title: '新闻中心'
      }
    }, {
      path: '/recruitingCentre',
      name: 'RecruitingCentre',
      component: RecruitingCentre,
      meta: {
        title: '招聘中心'
      }
    }
  ]
})
